package com.fly.util;


import com.fasterxml.jackson.databind.ObjectMapper;

/**
 * 自定义相应数据结构 json object
 *
 *
 */
public class FlyJSONResult {

    //定义json对象
    private static final ObjectMapper MAPPER = new ObjectMapper();
    //响应业务状态
    private Integer status;
    //响应消息
    private String msg;
    //响应数据
    private Object data;

    public FlyJSONResult(Object data) {

    }


    public static FlyJSONResult ok(String msg){
        return new FlyJSONResult(null);
    }

}
